#ifndef __STDLIB_H__
#define __STDLIB_H__
#include <_stdlib.h>
#include <string.h>
#define calloc               dlcalloc
#define free                 dlfree
#define malloc               dlmalloc
#define memalign             dlmemalign
#define realloc              dlrealloc
#define valloc               dlvalloc
#define pvalloc              dlpvalloc
#define mallopt              dlmallopt
#define malloc_trim          dlmalloc_trim
#define malloc_stats         dlmalloc_stats
#define malloc_usable_size   dlmalloc_usable_size
#define malloc_footprint     dlmalloc_footprint
#define malloc_max_footprint dlmalloc_max_footprint
#define independent_calloc   dlindependent_calloc
#define independent_comalloc dlindependent_comalloc


void* dlmalloc(size_t);
void  dlfree(void*);
void* dlcalloc(size_t, size_t);
void* dlrealloc(void*, size_t);
void* dlmemalign(size_t, size_t);
void* dlvalloc(size_t);
int dlmallopt(int, int);
size_t dlmalloc_footprint(void);
size_t dlmalloc_max_footprint(void);
void** dlindependent_calloc(size_t, size_t, void**);
void** dlindependent_comalloc(size_t, size_t*, void**);
void*  dlpvalloc(size_t);
int  dlmalloc_trim(size_t);
void  dlmalloc_stats(void);
#endif